package com.lson;

import ch.qos.logback.core.net.server.Client;
import com.lson.controller.TestController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@Slf4j
public class ClientUp {
    TestController testController = new TestController();
    public static void main(String[] args) {
        SpringApplication.run(ClientUp.class);
        log.info("ClientUp启动成功");

    }

    public void b(){
        testController.a();
    }
}
